home *** CD-ROM | disk | FTP | other *** search
- *** 1.35 1991/12/26 16:23:20
- --- PatchLev.h 1992/02/04 18:49:45
- ***************
- *** 1,7 ****
-
- ! #define PatchLevel "74"
-
- /*
- * the Patch Level above is to identify the version
- * of the all the files in this directory. given the above
- * number i can pull up the correct version of any individual
- --- 1,8 ----
-
- ! #define PatchLevel "75"
-
- /*
- + *
- * the Patch Level above is to identify the version
- * of the all the files in this directory. given the above
- * number i can pull up the correct version of any individual
- *** 1.6 1991/07/09 23:15:17
- --- aesbind.h 1992/02/04 18:49:45
- ***************
- *** 125,132 ****
- char *Command, char *Tail));
- __EXTERN int shel_find __PROTO((char *buf));
- __EXTERN int shel_envrn __PROTO((char *result, char *param));
- ! __EXTERN int shel_get __PROTO((char *Buf, int *Len));
- ! __EXTERN int shel_put __PROTO((char *Buf, int *Len));
-
- __EXTERN int wind_create __PROTO((int Parts, int Wx, int Wy, int Ww,
- int Wh));
- --- 125,132 ----
- char *Command, char *Tail));
- __EXTERN int shel_find __PROTO((char *buf));
- __EXTERN int shel_envrn __PROTO((char *result, char *param));
- ! __EXTERN int shel_get __PROTO((char *Buf, int Len));
- ! __EXTERN int shel_put __PROTO((char *Buf, int Len));
-
- __EXTERN int wind_create __PROTO((int Parts, int Wx, int Wy, int Ww,
- int Wh));
- *** 1.9 1991/09/24 17:05:40
- --- ctype.h 1992/02/04 18:49:46
- ***************
- *** 13,19 ****
- extern "C" {
- #endif
-
- ! extern unsigned char *_ctype;
-
- #define _CTc 0x01 /* control character */
- #define _CTd 0x02 /* numeric digit */
- --- 13,19 ----
- extern "C" {
- #endif
-
- ! extern unsigned char _ctype[];
-
- #define _CTc 0x01 /* control character */
- #define _CTd 0x02 /* numeric digit */
- ***************
- *** 23,40 ****
- #define _CTp 0x20 /* punctuation */
- #define _CTx 0x40 /* hexadecimal */
-
- ! #define isalnum(c) (_ctype[c]&(_CTu|_CTl|_CTd))
- ! #define isalpha(c) (_ctype[c]&(_CTu|_CTl))
- #define isascii(c) !((c)&~0x7F)
- ! #define iscntrl(c) (_ctype[c]&_CTc)
- ! #define isdigit(c) (_ctype[c]&_CTd)
- ! #define isgraph(c) (!(_ctype[c]&(_CTc|_CTs)) && (_ctype[c]))
- ! #define islower(c) (_ctype[c]&_CTl)
- ! #define isprint(c) (!(_ctype[c]&_CTc) && (_ctype[c]))
- ! #define ispunct(c) (_ctype[c]&_CTp)
- ! #define isspace(c) (_ctype[c]&_CTs)
- ! #define isupper(c) (_ctype[c]&_CTu)
- ! #define isxdigit(c) (_ctype[c]&_CTx)
- #define iswhite(c) isspace(c)
-
- #define _toupper(c) ((c)^0x20)
- --- 23,40 ----
- #define _CTp 0x20 /* punctuation */
- #define _CTx 0x40 /* hexadecimal */
-
- ! #define isalnum(c) (_ctype[(unsigned char)(c)]&(_CTu|_CTl|_CTd))
- ! #define isalpha(c) (_ctype[(unsigned char)(c)]&(_CTu|_CTl))
- #define isascii(c) !((c)&~0x7F)
- ! #define iscntrl(c) (_ctype[(unsigned char)(c)]&_CTc)
- ! #define isdigit(c) (_ctype[(unsigned char)(c)]&_CTd)
- ! #define isgraph(c) (!(_ctype[(unsigned char)(c)]&(_CTc|_CTs)) && (_ctype[(unsigned char)(c)]))
- ! #define islower(c) (_ctype[(unsigned char)(c)]&_CTl)
- ! #define isprint(c) (!(_ctype[(unsigned char)(c)]&_CTc) && (_ctype[(unsigned char)(c)]))
- ! #define ispunct(c) (_ctype[(unsigned char)(c)]&_CTp)
- ! #define isspace(c) (_ctype[(unsigned char)(c)]&_CTs)
- ! #define isupper(c) (_ctype[(unsigned char)(c)]&_CTu)
- ! #define isxdigit(c) (_ctype[(unsigned char)(c)]&_CTx)
- #define iswhite(c) isspace(c)
-
- #define _toupper(c) ((c)^0x20)
- ***************
- *** 46,75 ****
-
- #if 0 /* do not define, these are routines in ctype.c as they should be */
- #define toupper(c) \
- ! ({typedef _tc = (c); \
- ! _tc _c = (c); \
- islower(_c) ? (_c^0x20) : _c; })
- #define tolower(c) \
- ! ({typedef _tc = (c); \
- ! _tc _c = (c); \
- isupper(_c) ? (_c^0x20) : _c; })
- #endif /* 0 */
-
- #define toint(c) \
- ! ({typedef _tc = (c); \
- ! _tc _c = (c); \
- (_c <= '9') ? (_c - '0') : (toupper(_c) - 'A'); })
- #define isodigit(c) \
- ! ({typedef _tc = (c); \
- ! _tc _c = (c); \
- (_c >='0') && (_c<='7'); })
- #define iscymf(c) \
- ! ({typedef _tc = (c); \
- ! _tc _c = (c); \
- isalpha(_c) || (_c == '_'); })
- #define iscym(c) \
- ! ({typedef _tc = (c); \
- ! _tc _c = (c); \
- isalnum(_c) || (_c == '_'); })
-
- #else /* you know what */
- --- 46,69 ----
-
- #if 0 /* do not define, these are routines in ctype.c as they should be */
- #define toupper(c) \
- ! ({typeof(c) _c = (c); \
- islower(_c) ? (_c^0x20) : _c; })
- #define tolower(c) \
- ! ({typeof(c) _c = (c); \
- isupper(_c) ? (_c^0x20) : _c; })
- #endif /* 0 */
-
- #define toint(c) \
- ! ({typeof(c) _c = (c); \
- (_c <= '9') ? (_c - '0') : (toupper(_c) - 'A'); })
- #define isodigit(c) \
- ! ({typeof(c) _c = (c); \
- (_c >='0') && (_c<='7'); })
- #define iscymf(c) \
- ! ({typeof(c) _c = (c); \
- isalpha(_c) || (_c == '_'); })
- #define iscym(c) \
- ! ({typeof(c) _c = (c); \
- isalnum(_c) || (_c == '_'); })
-
- #else /* you know what */
- *** 1.13 1991/09/24 17:05:40
- --- fcntl.h 1992/02/04 18:49:48
- ***************
- *** 67,73 ****
-
- /* defs for handle frob */
-
- ! #define __NHANDLES 40
-
- #ifndef __MINT__
- struct __open_file {
- --- 67,73 ----
-
- /* defs for handle frob */
-
- ! #define __NHANDLES 80
-
- #ifndef __MINT__
- struct __open_file {
- ***************
- *** 79,88 ****
- char *filename; /* filename of open file */
- };
-
- - #ifndef __FHANDLE_C__
- - extern struct __open_file __open_stat[];
- - #endif
- -
- #else /* __MINT__ */
-
- struct __open_file {
- --- 79,84 ----
- ***************
- *** 90,98 ****
- short flags; /* if a tty, its flags */
- };
-
- - extern struct __open_file __open_stat[__NHANDLES];
- #endif /* __MINT */
-
- /* NOTE: this array is indexed by (__OPEN_INDEX(fd)) */
-
- /* smallest valid gemdos handle */
- --- 86,94 ----
- short flags; /* if a tty, its flags */
- };
-
- #endif /* __MINT */
-
- + extern struct __open_file __open_stat[__NHANDLES];
- /* NOTE: this array is indexed by (__OPEN_INDEX(fd)) */
-
- /* smallest valid gemdos handle */
- *** 1.4 1990/03/04 04:17:11
- --- float.h 1992/02/04 18:49:48
- ***************
- *** 52,58 ****
- /* Maximum int x such that FLT_RADIX**(x-1) is a representable double */
- #define DBL_MAX_EXP 1024
- /* Maximum double */
- ! #define DBL_MAX 1.7976931348623157e+308
- /* Maximum int x such that 10**x is a representable double */
- #define DBL_MAX_10_EXP 308
-
- --- 52,59 ----
- /* Maximum int x such that FLT_RADIX**(x-1) is a representable double */
- #define DBL_MAX_EXP 1024
- /* Maximum double */
- ! /*#define DBL_MAX 1.7976931348623157e+308*/
- ! #define DBL_MAX 1.7976931348623158e+308
- /* Maximum int x such that 10**x is a representable double */
- #define DBL_MAX_10_EXP 308
-
- ***************
- *** 71,77 ****
- /* Maximum int x such that FLT_RADIX**(x-1) is a representable long double */
- #define LDBL_MAX_EXP 1024
- /* Maximum long double */
- ! #define LDBL_MAX 1.7976931348623157e+308L
- /* Maximum int x such that 10**x is a representable long double */
- #define LDBL_MAX_10_EXP 308
-
- --- 72,79 ----
- /* Maximum int x such that FLT_RADIX**(x-1) is a representable long double */
- #define LDBL_MAX_EXP 1024
- /* Maximum long double */
- ! /*#define LDBL_MAX 1.7976931348623157e+308L*/
- ! #define DBL_MAX 1.7976931348623158e+308
- /* Maximum int x such that 10**x is a representable long double */
- #define LDBL_MAX_10_EXP 308
-
- *** 1.10 1991/07/23 22:17:23
- --- gemfast.h 1992/02/04 18:49:49
- ***************
- *** 465,479 ****
- typedef struct rshdr
- {
- short rsh_vrsn;
- ! short rsh_object;
- ! short rsh_tedinfo;
- ! short rsh_iconblk; /* list of ICONBLKS */
- ! short rsh_bitblk;
- ! short rsh_frstr;
- ! short rsh_string;
- ! short rsh_imdata; /* image data */
- ! short rsh_frimg;
- ! short rsh_trindex;
- short rsh_nobs; /* counts of various structs */
- short rsh_ntree;
- short rsh_nted;
- --- 465,479 ----
- typedef struct rshdr
- {
- short rsh_vrsn;
- ! unsigned short rsh_object;
- ! unsigned short rsh_tedinfo;
- ! unsigned short rsh_iconblk; /* list of ICONBLKS */
- ! unsigned short rsh_bitblk;
- ! unsigned short rsh_frstr;
- ! unsigned short rsh_string;
- ! unsigned short rsh_imdata; /* image data */
- ! unsigned short rsh_frimg;
- ! unsigned short rsh_trindex;
- short rsh_nobs; /* counts of various structs */
- short rsh_ntree;
- short rsh_nted;
- ***************
- *** 481,487 ****
- short rsh_nbb;
- short rsh_nstring;
- short rsh_nimages;
- ! short rsh_rssize; /* total bytes in resource */
- } RSHDR;
-
- #define DESKTOP_HANDLE 0
- --- 481,487 ----
- short rsh_nbb;
- short rsh_nstring;
- short rsh_nimages;
- ! unsigned short rsh_rssize; /* total bytes in resource */
- } RSHDR;
-
- #define DESKTOP_HANDLE 0
- *** 1.2 1991/06/11 23:10:46
- --- math-68881.h 1992/02/04 18:49:51
- ***************
- *** 152,158 ****
- {
- double value;
-
- - errno = EDOM;
- __asm ("fmove%.d %#0rnan,%0" /* quiet NaN */
- : "=f" (value)
- : /* no inputs */);
- --- 152,157 ----
- ***************
- *** 280,286 ****
- {
- double value;
-
- - errno = EDOM;
- __asm ("fmove%.d %#0rnan,%0" /* quiet NaN */
- : "=f" (value)
- : /* no inputs */);
- --- 279,284 ----
- ***************
- *** 307,313 ****
- {
- double value;
-
- - errno = EDOM;
- __asm ("fmove%.d %#0rnan,%0" /* quiet NaN */
- : "=f" (value)
- : /* no inputs */);
- --- 305,310 ----
- ***************
- *** 478,481 ****
- *ip = temp;
- return x - temp;
- }
- -
- --- 475,477 ----
- *** 1.23 1991/09/24 17:05:40
- --- osbind.h 1992/02/04 18:49:53
- ***************
- *** 1215,1313 ****
- (long)trap_14_wwl((short)(0x2d),(short)(opcode),(long)(operand))
-
-
- ! /*
- ! * General OS specific codes here
- ! *
- ! */
- !
- ! /* codes for Pexec */
- !
- ! #define PE_LOADGO 0 /* load & go */
- ! #define PE_LOAD 3 /* just load */
- ! #define PE_GO 4 /* just go */
- ! #define PE_CBASEPAGE 5 /* just create basepage */
- ! /* Tos 1.4: like 4, but memory ownership changed to child, and freed
- ! on exit
- ! */
- ! #define PE_GO_FREE 6 /* just go, then free */
- !
- ! /* codes for file access */
- !
- ! #define FA_RDONLY 0x01
- ! #define FA_HIDDEN 0x02
- ! #define FA_SYSTEM 0x04
- ! #define FA_LABEL 0x08
- ! #define FA_DIR 0x10
- ! #define FA_CHANGED 0x20
- !
- ! /* struct used by Fsfirst/Fsnext */
- ! struct _dta {
- ! char dta_buf[21];
- ! char dta_attribute;
- ! unsigned short dta_time;
- ! unsigned short dta_date;
- ! long dta_size;
- ! char dta_name[14];
- ! };
- !
- ! /* structure returned by Fdatime */
- ! typedef struct {
- ! short time;
- ! short date;
- ! } _DOSTIME;
- !
- ! /* device codes for Bconin/Bconout/Bcostat/Bconstat */
- ! #define _PRT 0
- ! #define _AUX 1
- ! #define _CON 2
- ! #define _MIDI 3
- ! #define _IKBD 4
- ! #define _RAWCON 5
- !
- ! /* struct returned by Getbpb */
- ! typedef struct {
- ! short recsiz; /* bytes per sector */
- ! short clsiz; /* sectors per cluster */
- ! short clsizb; /* bytes per cluster */
- ! short rdlen; /* root directory size */
- ! short fsiz; /* size of file allocation table */
- ! short fatrec; /* startsector of second FAT */
- ! short datrec; /* first data sector */
- ! short numcl; /* total number of clusters */
- ! short bflags; /* some flags */
- ! } _BPB;
- !
- ! /* struct returned by Iorec */
- ! typedef struct {
- ! char *ibuf;
- ! short ibufsiz;
- ! short ibufhd;
- ! short ibuftl;
- ! short ibuflow;
- ! short ibufhi;
- ! } _IOREC;
- !
- ! /* parameters for Cursconf */
- ! #define CURS_HIDE 0
- ! #define CURS_SHOW 1
- ! #define CURS_BLINK 2
- ! #define CURS_NOBLINK 3
- ! #define CURS_SETRATE 4
- ! #define CURS_GETRATE 5
- !
- ! /* struct returned by Kbdvbase */
- ! typedef struct {
- ! void (*midivec)(void);
- ! void (*vkbderr)(void);
- ! void (*vmiderr)(void);
- ! void (*statvec)(void *);
- ! void (*mousevec)(void *);
- ! void (*clockvec)(void *);
- ! void (*joyvec)(void *);
- ! long (*midisys)(void);
- ! long (*ikbdsys)(void);
- ! char kbstate;
- ! } _KBDVECS;
-
- #if defined(__cplusplus)
- }
- --- 1215,1223 ----
- (long)trap_14_wwl((short)(0x2d),(short)(opcode),(long)(operand))
-
-
- ! #ifndef _OSTRUCT_H
- ! #include <ostruct.h>
- ! #endif
-
- #if defined(__cplusplus)
- }
- *** 1.8 1991/06/20 02:21:30
- --- pwd.h 1992/02/04 18:49:54
- ***************
- *** 6,11 ****
- --- 6,15 ----
- #include <compiler.h>
- #endif
-
- + #ifndef _TYPES_H
- + #include <types.h>
- + #endif
- +
- #if defined(__cplusplus)
- extern "C" {
- #endif
- ***************
- *** 13,20 ****
- struct passwd {
- char *pw_name;
- char *pw_passwd;
- ! int pw_uid;
- ! int pw_gid;
- char *pw_gecos;
- char *pw_dir;
- char *pw_shell;
- --- 17,24 ----
- struct passwd {
- char *pw_name;
- char *pw_passwd;
- ! uid_t pw_uid;
- ! gid_t pw_gid;
- char *pw_gecos;
- char *pw_dir;
- char *pw_shell;
- ***************
- *** 23,30 ****
- #define pw_comment pw_gecos
-
- __EXTERN struct passwd *getpwent __PROTO((void));
- ! __EXTERN struct passwd *getpwuid __PROTO((int));
- ! __EXTERN struct passwd *getpwnam __PROTO((char *));
-
- #ifndef _POSIX_SOURCE
- __EXTERN void setpwfile __PROTO((char *));
- --- 27,34 ----
- #define pw_comment pw_gecos
-
- __EXTERN struct passwd *getpwent __PROTO((void));
- ! __EXTERN struct passwd *getpwuid __PROTO((uid_t));
- ! __EXTERN struct passwd *getpwnam __PROTO((const char *));
-
- #ifndef _POSIX_SOURCE
- __EXTERN void setpwfile __PROTO((char *));
- *** 1.8 1991/12/26 16:23:20
- --- vdibind.h 1992/02/04 18:50:00
- ***************
- *** 70,76 ****
- __EXTERN void v_justified __PROTO((int handle, int x, int y, char *str,
- int len, int word_space, int char_space));
-
- ! __EXTERN void vsin_mode __PROTO((int handle, int dev, int mode));
- __EXTERN void vrq_locator __PROTO((int handle, int x, int y, int *xout,
- int *yout, int *term));
- __EXTERN int vsm_locator __PROTO((int handle, int x, int y, int *xout,
- --- 70,76 ----
- __EXTERN void v_justified __PROTO((int handle, int x, int y, char *str,
- int len, int word_space, int char_space));
-
- ! __EXTERN int vsin_mode __PROTO((int handle, int dev, int mode));
- __EXTERN void vrq_locator __PROTO((int handle, int x, int y, int *xout,
- int *yout, int *term));
- __EXTERN int vsm_locator __PROTO((int handle, int x, int y, int *xout,
- ***************
- *** 98,104 ****
-
-
- __EXTERN void vq_extnd __PROTO((int handle, int flag, int work_out[]));
- ! __EXTERN void vq_color __PROTO((int handle, int index, int flag, int rgb[]));
- __EXTERN void vql_attribute __PROTO((int handle, int atrib[]));
- __EXTERN void vqm_attributes __PROTO((int handle, int atrib[]));
- __EXTERN void vqf_attributes __PROTO((int handle, int atrib[]));
- --- 98,104 ----
-
-
- __EXTERN void vq_extnd __PROTO((int handle, int flag, int work_out[]));
- ! __EXTERN int vq_color __PROTO((int handle, int index, int flag, int rgb[]));
- __EXTERN void vql_attribute __PROTO((int handle, int atrib[]));
- __EXTERN void vqm_attributes __PROTO((int handle, int atrib[]));
- __EXTERN void vqf_attributes __PROTO((int handle, int atrib[]));
-